//
//  BaseCar.m
//  19-CarHomeWork
//
//  Created by 曹曹 on 16/8/11.
//  Copyright © 2016年 曹曹. All rights reserved.
//

#import "BaseCar.h"

@implementation BaseCar
- (instancetype)initWithDictionary:(NSDictionary *)dictionary {
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dictionary];
    }
    return self;
}
+ (BaseCar *)modelWithDictionary:(NSDictionary *)dictionary {
    return [[self alloc] initWithDictionary:dictionary];
}
- (void)setValue:(id)value forUndefinedKey:(NSString *)key {}
- (id)valueForUndefinedKey:(NSString *)key {
    return nil;
}

@end
